package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;

/**
 * 泰尔英福接口配置
 *
 * @Author:wuwc
 * @Description:
 * @Date:2018/5/7 11:58
 */
@Component
@DisconfFile(targetDirPath = "disconf", filename = "telecredit.properties")
public class TelecreditProperties {

    private String appKey;

    private String appSign;

    private String violationUrl;

    private String regionalUrl;

    @DisconfFileItem(name = "telecredit.appKey", associateField = "appKey")
    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    @DisconfFileItem(name = "telecredit.appSign", associateField = "appSign")
    public String getAppSign() {
        return appSign;
    }

    public void setAppSign(String appSign) {
        this.appSign = appSign;
    }

    @DisconfFileItem(name = "telecredit.violationUrl", associateField = "violationUrl")
    public String getViolationUrl() {
        return violationUrl;
    }

    public void setViolationUrl(String violationUrl) {
        this.violationUrl = violationUrl;
    }

    @DisconfFileItem(name = "telecredit.regionalUrl", associateField = "regionalUrl")
    public String getRegionalUrl() {
        return regionalUrl;
    }

    public void setRegionalUrl(String regionalUrl) {
        this.regionalUrl = regionalUrl;
    }
}
